package com.xuequ.answerme.beans;

import java.io.Serializable;
import java.util.List;

import cn.bmob.v3.BmobObject;

/**
 * Created by Shijie on 2015/9/29.
 */
public class QuestionBean extends BmobObject implements Serializable {

    private String question_title;//问题题目
    private String question_description;//问题的详细描述
    private List<String> question_tag;//问题标签
    private Integer question_focus;//问题关注度
    private Integer question_answers;//问题回答数
    private Integer question_search;//问题搜索数
    private String question_createdAt;
    private Boolean anonymity;
    //pointer
    private UserBean questioner;//一个问题对应一个用户

    public QuestionBean() {
        this.question_title = null;
        this.question_description = null;
        this.question_focus = 0;
        this.question_answers = 0;
        this.question_search = 0;
    }

    public QuestionBean(String question_title, String question_description) {
        this.question_title = question_title;
        this.question_description = question_description;
    }

    public Boolean getAnonymity() {
        return anonymity;
    }

    public void setAnonymity(Boolean anonymity) {
        this.anonymity = anonymity;
    }

    public String getQuestion_createdAt() {
        return question_createdAt;
    }

    public void setQuestion_createdAt(String question_createdAt) {
        this.question_createdAt = question_createdAt;
    }

    public Integer getQuestion_search() {
        return question_search;
    }

    public void setQuestion_search(Integer question_search) {
        this.question_search = question_search;
    }

    public String getQuestion_title() {
        return question_title;
    }

    public void setQuestion_title(String question_title) {
        this.question_title = question_title;
    }

    public String getQuestion_description() {
        return question_description;
    }

    public void setQuestion_description(String question_description) {
        this.question_description = question_description;
    }

    public List<String> getQuestion_tag() {
        return question_tag;
    }

    public void setQuestion_tag(List<String> question_tag) {
        this.question_tag = question_tag;
    }

    public Integer getQuestion_focus() {
        return question_focus;
    }

    public void setQuestion_focus(Integer question_focus) {
        this.question_focus = question_focus;
    }

    public Integer getQuestion_answers() {
        return question_answers;
    }

    public void setQuestion_answers(Integer question_answers) {
        this.question_answers = question_answers;
    }

    public UserBean getQuestioner() {
        return questioner;
    }

    public void setQuestioner(UserBean questioner) {
        this.questioner = questioner;
    }
}
